#ifndef WSHOW_H
#define WSHOW_H

#include <QGLWidget>
#include "ui_wshow.h"

class WShow : public QGLWidget
{
	Q_OBJECT

public:
	WShow(QWidget* parent = 0, QString name = "OpenGL", bool fs = false );

	~WShow();

private:
	Ui::WShow ui;

	bool fullscreen;

protected:
	void initializeGL();
	void paintGL();
	void resizeGL( int width, int height );
	void keyPressEvent( QKeyEvent *e );


};

#endif // WSHOW_H
